package br.com.amadeus.android.entities;

import java.util.Date;

public class SocialHistory implements Comparable<SocialHistory>{
	
	private int id;
	private String courseName;
	private String userName;
	private String userLogin;
	private String actionValue;
	private String resourceName;
	private Date creationDate;
	private int amadeusID;
	
	
	
	public SocialHistory(int id) {
		super();
		this.id = id;
	}
	
	public SocialHistory(int id, String courseName, String userName,
			String userLogin, String actionValue, String resourceName,
			Date creationDate, int amadeusID) {
		super();
		this.id = id;
		this.courseName = courseName;
		this.userName = userName;
		this.userLogin = userLogin;
		this.actionValue = actionValue;
		this.resourceName = resourceName;
		this.creationDate = creationDate;
		this.amadeusID = amadeusID;
	}


	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getActionValue() {
		return actionValue;
	}
	public void setActionValue(String actionValue) {
		this.actionValue = actionValue;
	}
	public String getResourceName() {
		return resourceName;
	}
	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	public int getAmadeusID() {
		return amadeusID;
	}
	public void setAmadeusID(int amadeusID) {
		this.amadeusID = amadeusID;
	}
	
	public String getUserLogin() {
		return userLogin;
	}
	
	public void setUserLogin(String userLogin) {
		this.userLogin = userLogin;
	}

	public int compareTo(SocialHistory s) {
		return Integer.toString(this.amadeusID).compareTo(Integer.toString(s.getAmadeusID()));
	}
	
	

}
